package main

import (
	"cronjob/jobs"
	"cronjob/models"
	_ "cronjob/routers"
	"time"

	"github.com/astaxie/beego"
)

//程序加载初始化程序

func init() {
	var startTime = time.Now().Unix()
	models.Init(startTime)
	jobs.InitJob()
}

func main() {
	beego.Run()
}
